package com.jt.www.domain.qo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 线下录入查询
 * Created by shaoyn on 2020/04/10.
 */
public class OfflineOrderQO {

    @ApiModelProperty("上传批次号（订单id）")
    private Long id;

    @ApiModelProperty(value = "操作人分支机构编码")
    private String operatorBranchCode;

    @ApiModelProperty("产品编号")
    private String productCode;

    @ApiModelProperty(value = "线下业务类别 00:统保示范项目  01:教育区域统保业务  02:教育延伸业务  03:教育衍生业务  04:其他教育保险业务")
    private String offlineType;

    @ApiModelProperty(value = "录单日期-开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date inputStartDate;

    @ApiModelProperty(value = "录单日期-结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date inputEndDate;

    @ApiModelProperty(value = "审核时间-开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date auditStartDate;

    @ApiModelProperty(value = "审核时间-结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date auditEndDate;

    @ApiModelProperty(value = "业务归属-分公司编码")
    private String branchCode;

    @ApiModelProperty(value = "录入审核状态 1：待审核 2：审核退回  3：审核通过")
    private String auditStatus;

    @ApiModelProperty("分页 ： 页码")
    private Integer pn = 1;

    @ApiModelProperty("分页 ： 每页数据量")
    private Integer ps = 12;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOperatorBranchCode() {
        return operatorBranchCode;
    }

    public void setOperatorBranchCode(String operatorBranchCode) {
        this.operatorBranchCode = operatorBranchCode;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getOfflineType() {
        return offlineType;
    }

    public void setOfflineType(String offlineType) {
        this.offlineType = offlineType;
    }

    public Date getInputStartDate() {
        return inputStartDate;
    }

    public void setInputStartDate(Date inputStartDate) {
        this.inputStartDate = inputStartDate;
    }

    public Date getInputEndDate() {
        return inputEndDate;
    }

    public void setInputEndDate(Date inputEndDate) {
        this.inputEndDate = inputEndDate;
    }

    public Date getAuditStartDate() {
        return auditStartDate;
    }

    public void setAuditStartDate(Date auditStartDate) {
        this.auditStartDate = auditStartDate;
    }

    public Date getAuditEndDate() {
        return auditEndDate;
    }

    public void setAuditEndDate(Date auditEndDate) {
        this.auditEndDate = auditEndDate;
    }

    public String getBranchCode() {
        return branchCode;
    }

    public void setBranchCode(String branchCode) {
        this.branchCode = branchCode;
    }

    public String getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus;
    }

    public Integer getPn() {
        return pn;
    }

    public void setPn(Integer pn) {
        this.pn = pn;
    }

    public Integer getPs() {
        return ps;
    }

    public void setPs(Integer ps) {
        this.ps = ps;
    }
}
